package com.ktgj.flight.common.huaxia;

import com.ktgj.flight.domain.InterfaceEntity.*;

public interface G5Service {

    /**
     * 航班查询
     * @param request
     * @return
     */
    MoFlightSearchResponse flightSearch(MoFlightSearchRequest request);

    /**
     * 航班预定
     * @param request
     * @return
     */
    MoCreateOrderResponse orderCreate(MoCreateOrderRequest request);

    /**
     * 查询订单详情
     * @param request
     * @return
     */
    MoQueryOrderResponse queryOrderInfo(MoQueryOrderRequest request);

    /**
     * 订单支付
     * @param request
     * @return
     */
    MoOrderPayResponse orderPayment(MoYeePayRequest request);

    /**
     * 出票
     * @param request
     * @return
     */
    MoOrderPayResponse orderPay(MoOrderPayRequest request);

    /**
     * 查询退票手续费
     * @param request
     * @return
     */
    MoOrderRefundCaltResponse orderRefundCalt(MoOrderRefundCaltRequest request);

    /**
     * 申请退票
     * @param request
     * @return
     */
    MoOrderRefundResponse orderRefund(MoOrderRefundRequest request);
}
